<?php
if($act =='editcontent')
{
    $sql_select = "select * from tblnewsletter_content where  iId='$id'";    
    $content = $dbsql->query_fetch($sql_select);
}else
{
    $content['iParentId']=$id;
    $content['iStatus'] = 1;
}
?>